package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._19命令模式._1基本代码;

//具体命令类
class ConcreteCommand extends Command{
    public ConcreteCommand(Receiver receiver){
        super(receiver);
    }

    public void excuteCommand(){
        receiver.action();
    }
}